const min = arr => Math.min(...arr)

let arr = [12, 34, 32, 89, 4]

console.log(min(arr))
